<script>
var person={
   name:"tom",
   age:26,
   country:"USA",
   sex:"male",
   tell:function(){alert("I am tom");},
   family:["father","mother","sister"]
}

for(key in person){
	alert(key);
}
</script>